package day4.Person;
//基础类：父类
//public class Person extends  Object;
public class Person {
    private String name;
    public  int age;
    public Person(){

    }
    public void setName(String name){
        this.name = name;
    }

    public String getName(){
        return name;
    }
    public void sayHello(){
        System.out.println("hello,my name is  "+name);
    }

}
